#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEPICKUI_SINGLELINEPICKUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEPICKUI_SINGLELINEPICKUI_H

#include "ControlUI.h"

class CSingleLinePickUI: public CControlUI
{
public:
	CSingleLinePickUI(void);
	virtual ~CSingleLinePickUI(void);
	void SetWidth(int cxWidth);

	LPCTSTR GetClass() const;
	UINT GetControlFlags() const;
	void Event(TEventUI& event);

	SIZE EstimateSize(SIZE szAvailable);
	void DoPaint(HDC hDC, const RECT& rcPaint);

protected:
	RECT m_rcButton;
	RECT m_rcLinks[8];
	int m_nLinks;
	int m_cxWidth;
	UINT m_uButtonState;
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEPICKUI_SINGLELINEPICKUI_H
